﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FormObjectList.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.FormInfo.FormObjectList" %>



<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>


<%=_framePage.TabInfoHtml()%>

<form  id="pageForm" method="post" class="pageForm" runat="Server">
<div class="pageHeader">
	<div class="searchBar">

        <table class="searchContent" width="100%">
        	<tr>
            <td>
            合计<span style="margin:6px;color:red"><%=_framePage.RecordCount%></span>条记录，未处理<span style="margin:6px;color:red"><%=UnHandlerCount%></span>条.
            </td>
            <td><input type="hidden" cond="formid" value="<%=Request["formid"] %>"/></td>
        	</tr>
        </table>
	  <%-- --%> <div class="subBar">
			<ul>
			<li>
			    <a class="button" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.query(this);" 
			    target="navTab" rel="<%= _framePage.NavTabId %>" title="<%= _framePage.NavTabTitle %>"><span>&nbsp;查&nbsp;询&nbsp;</span></a>
			</li>
            
			<li>
			    <a class="button" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.exportFile(this);" 
			    target="dwzExport" rel="exportexcel" title="导出EXCEL"><span>导出EXCEL</span></a>
			</li>
			</ul>
	    </div>
	</div>
</div>


<div class="pageContent">   
   	<div class="panelBar">
		<ul class="toolBar">
		  <li><a class="delete" href="/SystemManage/Basics/FormInfo/FormObjectDelete.aspx" target="selectedTodo" title="请确定要删除勾选表单"><span>删除</span></a></li>
		</ul>
	</div>
	<div class="tableList"   layoutH="116">
	<table class="list" targetType="navTab" asc="asc" desc="desc">
	    <thead>
			<tr>
                <th width="22px"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
            <asp:repeater runat="server" id="repeaterFields">
                <ItemTemplate>
				    <th style="min-width:100px"><%#Eval("FieldName") %></th>
                </ItemTemplate>
            </asp:repeater>
				<th width="180px">记录时间</th>
				<th width="80px">状态</th>
				<th width="120px" align=center>基本操作</th>

			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="repeaterObjects" 
                onitemdatabound="repeaterObjects_ItemDataBound">
                <ItemTemplate>
			    <tr target="uid" rel=<%# Eval("Id")%>>
                    <td><input name="ids" value="<%#Eval("Id")%>" type="checkbox"/></td>
            
            <asp:repeater runat="server" id="repeaterFields">
                <ItemTemplate>
				    <td><%#Container.DataItem %></td>
                </ItemTemplate>
            </asp:repeater>
            <td><%#Eval("RecordDate") %></td>
            <td><%#(string)Eval("ObjectStatus") == "1" ? "<span style='color:green'>已处理</span>" : "<span style='color:red'>未处理</span>"%></td>
                    <td align=center>
				        <a href="/SystemManage/Basics/FormInfo/FormObjectDetail.aspx?objectid=<%# Eval("Id")%>" target="navTab" rel="FormObjectDetail" title="表单记录详情">编辑</a>
				        &nbsp;&nbsp;
				        <a href="/SystemManage/Basics/FormInfo/FormObjectDelete.aspx?ids=<%# Eval("Id")%>" target="ajaxTodo" title="请确定要删除">删除</a>
				    </td>
                </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>

	</div>
	
    
    
<%= _framePage.GetPagerContentHtml() %>
</div>


</form>